package com.lxc.consumer;


import com.lxc.common.HelloTestService;
import org.apache.dubbo.config.annotation.Reference;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lxc18
 * @date 2024/12/2 11:57
 * @description TestController
 */

@RestController
public class TestController {
    @Reference
    private HelloTestService helloService;

    @RequestMapping("/hello")
    public String Hello() {

        return helloService.sayTestHello("qqqqqqqqq");
    }

}
